﻿#region Using directives

using System;
//using System.Collections.Generic;
using System.Text;

#endregion

namespace Thinktecture.Tools.Web.Services.CodeGeneration.Driver
{
    public class BadCodeLanguageException : Exception
    {
        private String badLanguage;

        public BadCodeLanguageException(string language)
        {
            badLanguage = language;
        }

        public override string Message
        {
            get { return string.Format( "Unable to generate code for language: {0}. Use cs for C# or vb for VB.NET.", badLanguage ); }
        }
    }

	// CSC 11/25/2004
	public class BadParametersException : ApplicationException
	{
		public BadParametersException(string msg) : base(msg)
		{
		}

	}
}
